<?php

namespace app\index\controller;

use think\Controller;
use think\Request;

class Content extends Controller
{
    public function index()
    {
        //接受gid
        $gid = input('param.cate_id');
        $field = db('details')->where('de_id',$gid)->find();

        $field['shop_color'] = explode('@',$field['shop_color']);
        $field['shop_size'] = explode('@',$field['shop_size']);
        $field['pics'] = explode('@',$field['pics']);
//		halt($field);
        $this->assign('field',$field);
//        halt($field);
        return view();
    }
}
